home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000122_fdc@columbia.edu_Wed Jun 5 10:43:14 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
2KB
|
59 lines
Article: 13419 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: File name character substitution
Date: 5 Jun 2002 10:42:53 -0400
Organization: Columbia University
Lines: 42
Message-ID: <adl81d$kgd$1@watsol.cc.columbia.edu>
References: <4cf9413d.0206050455.1c062e36@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1023288175 26631 128.59.39.139 (5 Jun 2002 14:42:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Jun 2002 14:42:55 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13419
In article <4cf9413d.0206050455.1c062e36@posting.google.com>,
Paul Chadwick <Paul.Chadwick@Albion-Auto.co.uk> wrote:
> I'm new to Kermit, we have purchased and setup Kermit 95 on a Windows
> 95 PC, it is running in server mode and working ok with the client.
> The client is embedded in a production machine on our shop floor I
> don't know what the OS is on this client but it allows "/" in the file
> names. The implementation requires the client to send files to the
> server but the server creates directories when it sees a "/", what I
> would like to happen is for the "/" to be substituted for a "-" in the
> file name on the server. Is this possible?
>
Yes. And I doubt you'd find another package on the planet that could
handle a situation like this :-)
> The only information on the screen of the client is:
> 85000 Kermit 0.004 30-Jan-89
>
Another "mystery Kermit"...
To solve the filename problem, see:
http://www.columbia.edu/kermit/ckermit70.html#x4.1.1
The fly in the ointment is that you have K95 acting as server, so there
is no opportunity to supply the "as-name". For this you would have to
restructure the K95 to do something like this:
cd blah
while true {
receive /as-name:\freplace(\v(filename),/,-)
}
You might get some error messages if the machine sends a FINISH or BYE
command, but you can either ignore them (and stay in the loop) or exit
>From the loop if that is what happens with the server:
cd blah
while success {
receive /as-name:\freplace(\v(filename),/,-)
}
- Frank